#pragma once

// CControlServiceTabs
#define DETAIL_TABS_MAXCOUNT			2

//
class CTypeObject;

// CDetailTabCtrl
class CDetailTabCtrl : public CTabCtrl
{
	DECLARE_DYNAMIC(CDetailTabCtrl)

public:
	CDetailTabCtrl();
	virtual ~CDetailTabCtrl();

public:
	void UpdateDetailInfo(CTypeObject* pcTypeObject);

private:
	int m_nTabCurrent;
	CDialog *m_cTabPages[DETAIL_TABS_MAXCOUNT];
	CFont m_cFont;
	CImageList m_cImageList;

protected:
	DECLARE_MESSAGE_MAP()
public:
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
};
